package cn.lg.soar.cms.biz.config;

import cn.lg.soar.cms.biz.modules.article.controller.*;
import cn.lg.soar.cms.biz.modules.article.service.impl.*;
import cn.lg.soar.cms.biz.modules.audio.controller.*;
import cn.lg.soar.cms.biz.modules.audio.service.impl.*;
import cn.lg.soar.cms.biz.modules.other.controller.BlockController;
import cn.lg.soar.cms.biz.modules.other.controller.BlockItemController;
import cn.lg.soar.cms.biz.modules.other.controller.CollectController;
import cn.lg.soar.cms.biz.modules.other.controller.RegionController;
import cn.lg.soar.cms.biz.modules.other.service.impl.BlockItemServiceImpl;
import cn.lg.soar.cms.biz.modules.other.service.impl.BlockServiceImpl;
import cn.lg.soar.cms.biz.modules.other.service.impl.CollectServiceImpl;
import cn.lg.soar.cms.biz.modules.other.service.impl.RegionServiceImpl;
import cn.lg.soar.cms.biz.modules.video.controller.*;
import cn.lg.soar.cms.biz.modules.video.service.impl.*;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;

/**
 * @author luguoxiang 469599794@qq.com
 * @Date: 2024/2/23 16:30
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@ImportAutoConfiguration({
        // 其他
        CmsProps.class,
        CmsSwaggerConfigurer.class,
        // service
        ArticleServiceImpl.class,
        ArticleContentServiceImpl.class,
        ArticleCommentServiceImpl.class,
        ArticleCommentLikeServiceImpl.class,
        ArticleFootprintServiceImpl.class,
        ArticleGroupServiceImpl.class,
        ArticleLikeServiceImpl.class,

        AudioServiceImpl.class,
        AudioCommentServiceImpl.class,
        AudioCommentLikeServiceImpl.class,
        AudioFootprintServiceImpl.class,
        AudioGroupServiceImpl.class,
        AudioLikeServiceImpl.class,

        VideoServiceImpl.class,
        VideoCommentServiceImpl.class,
        VideoCommentLikeServiceImpl.class,
        VideoFootprintServiceImpl.class,
        VideoGroupServiceImpl.class,
        VideoLikeServiceImpl.class,

        BlockServiceImpl.class,
        BlockItemServiceImpl.class,
        CollectServiceImpl.class,
        RegionServiceImpl.class,

        // controller
        ArticleController.class,
        ArticleCommentController.class,
        ArticleCommentLikeController.class,
        ArticleFootprintController.class,
        ArticleGroupController.class,
        ArticleLikeController.class,

        AudioController.class,
        AudioCommentController.class,
        AudioCommentLikeController.class,
        AudioFootprintController.class,
        AudioGroupController.class,
        AudioLikeController.class,

        VideoController.class,
        VideoCommentController.class,
        VideoCommentLikeController.class,
        VideoFootprintController.class,
        VideoGroupController.class,
        VideoLikeController.class,

        BlockController.class,
        BlockItemController.class,
        CollectController.class,
        RegionController.class,
        // client

})
public class AutoConfiguration {

    static {
        // 数据权限忽略
//        DataScopeHolder.addIgnore(AccountBindMapper.class);
    }

}
